<%@ Control Language="C#" AutoEventWireup="true" CodeFile="search_table.ascx.cs" Inherits="ocx_land_search_table" %>
<table width="944" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px;">
          <tr>
              <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#728EC6" style="color:#FFFFFF; font-weight:bold;">
                  <tr>
                      <td width="111" height="29" align="center" style="background:url(../images/land/round_left.jpg) no-repeat left top;">ID</td>
                      <td width="1" align="center" class="border_right">&nbsp;</td>
                      <td width="230" align="center" class="border_right">NewsTitle</td>
                      <td width="63" align="center" class="border_right">Category</td>
                  </tr>
              </table></td>
          </tr>
          <tr>
              <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" bgcolor="#829CCF" border="0" style="margin-top:1px;">
    <tbody>
        <tr>
            <td valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="0">
<asp:Repeater ID="Repeater1" runat="server">
      <ItemTemplate>
                <tr bgcolor="#ffffff" onmouseout="this.bgColor='#ffffff';" onmouseover="this.bgColor='#BFE7FF';">
                    <td width="97" height="38" align="left" valign="top" style="padding-left:15px; padding-top:4px;"><a href="/default.aspx?id=<%#Eval("NewsID") %>" target="_blank"><%#Eval("NewsID")%></a></td>
                    <td width="215" align="left" valign="top" style="padding-left:15px; padding-top:4px;"><a href="/default.aspx?id=<%#Eval("NewsID") %>" target="_blank"><%#Net.KKcms.Web.HtmlUtils.InterceptCharacterString(Eval("NewsTitle").ToString(), 37)%></a></td>
                    <td width="63" align="center" valign="top" style="padding-top:4px;"><%#GetStatus(Eval("NewsCategory").ToString())%></td>
                </tr>
      </ItemTemplate>
</asp:Repeater>
            </table></td>
        </tr>
    </tbody>
</table></td>
          </tr>
      <tr>
        <td height="50"><div class="pagerContainer">
        <asp:AspNetPager runat="server" ID="AspNetPager1" HorizontalAlign="Center" PageIndexBoxType="DropDownList" OnPageChanged="AspNetPager1_PageChanged" NumericButtonTextFormatString="{0}" UrlPaging="true" PageSize="20" CurrentPageButtonClass="CurrentPageButton" PagingButtonSpacing=""></asp:AspNetPager>
        <div style="clear:both;"></div></div></td>
      </tr>
      </table>
